﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="YHAdd.aspx.cs" Inherits="YHGL_YHAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
  Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title></title>
  <link href="../images/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <form id="form1" runat="server">
  <table width="800px" height="82" border="1" cellspacing="0" cellpadding="0" class="table1">
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        登录名
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
          ControlToValidate="txtName"></asp:RequiredFieldValidator>
      </td>
    </tr>
    <tr>
      <td align="right" bgcolor="#E7E7E7">
        用户密码
      </td>
      <td bgcolor="#FFFFFF">
        <asp:TextBox ID="txtPWD" runat="server" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
          ControlToValidate="txtPWD"></asp:RequiredFieldValidator>
      </td>
    </tr>
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        <asp:Label ID="Label2" runat="server" Text="确认密码" Font-Size="12px"></asp:Label>
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:TextBox ID="txtPWD3" runat="server" TextMode="Password"></asp:TextBox>
        <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="密码不一致"
          ControlToCompare="txtPWD" ControlToValidate="txtPWD3"></asp:CompareValidator>
      </td>
    </tr>
    <tr>
      <td align="right" bgcolor="#E7E7E7">
        姓名：
      </td>
      <td bgcolor="#FFFFFF">
        <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
      </td>
    </tr>
    <tr>
      <td height="23" align="right" bgcolor="#E7E7E7">
        用户所属单位：
      </td>
      <td bgcolor="#FFFFFF">
        <asp:CheckBoxList ID="cblDW" runat="server" RepeatColumns="3">
        </asp:CheckBoxList>
      </td>
    </tr>
    <tr>
      <td height="23" align="right" bgcolor="#E7E7E7">
        系统权限：
      </td>
      <td bgcolor="#FFFFFF">
        <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="4">
        </asp:CheckBoxList>
      </td>
    </tr>
  </table>
  <table width="800px">
    <tr>
      <td align="center">
        <table>
          <tr>
            <td>
              <dxe:ASPxButton ID="btnConfirm" runat="server" Text="保存" AutoPostBack="False" OnClick="btnConfirm_Click">
              </dxe:ASPxButton>
            </td>
            <td>
              <dxe:ASPxHyperLink ID="ASPxHyperLink1" runat="server" Text="返回" NavigateUrl="YHGLList.aspx" Width="40px">
                <Border BorderWidth="1px" />
              </dxe:ASPxHyperLink>
            </td>
            <td>
              <asp:Label ID="lbMessage" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  </form>
</body>
</html>
